From: Jason Rumney Date: Thu, 21 Jun 2007 23:01:39 +0000 (+0000) Subject: (convert_mono_to_color_image): Swap fore and background. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18261 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=34bdccb67d5ad1f2c2c91389890a9e0e82673309;p=emacs.git (convert_mono_to_color_image): Swap fore and background. --- diff --git a/src/image.c b/src/image.c index 2dd578afc39..a1a908600ee 100644 --- a/src/image.c +++ b/src/image.c @@ -3120,8 +3120,8 @@ static void convert_mono_to_color_image (f, img, foreground, background) release_frame_dc (f, hdc); old_prev = SelectObject (old_img_dc, img->pixmap); new_prev = SelectObject (new_img_dc, new_pixmap); - SetTextColor (new_img_dc, foreground); - SetBkColor (new_img_dc, background); + SetTextColor (new_img_dc, background); + SetBkColor (new_img_dc, foreground); BitBlt (new_img_dc, 0, 0, img->width, img->height, old_img_dc, 0, 0, SRCCOPY);